package com.ruoyi.system.controller.H5;

import com.ruoyi.common.core.web.controller.BaseController;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.system.domain.BaseBanner;
import com.ruoyi.system.domain.dto.H5.NewContestListDto;
import com.ruoyi.system.domain.dto.Web.BannerDto;
import com.ruoyi.system.domain.vo.H5.NewContestListVO;
import com.ruoyi.system.service.IBaseContestService;
import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


/**
 * h5 h5联赛列表
 */
@ApiOperation("h5联赛列表")
@RestController
@RequestMapping("/h5/contest")
public class ContestH5Controller extends BaseController{


    @Autowired
    private IBaseContestService iBaseContestService;

    @GetMapping("/newContestList")
    @Operation(summary = "查询联赛列表", description = "查询联赛列表")
    public TableDataInfo newContestList(NewContestListDto dto)
    {
        return iBaseContestService.newContestList(dto);
    }
}

